package com.fishingwithme.domain.user;

import lombok.Data;

import java.util.Date;

@Data
public class SpotUser {

    private Long id;
    private String username;
    private String password;
    private String openId;
    private Long phoneNo;
    private Date registerTime;
    private String email;

    private Long userId;

    private String unionId;

    private String nickname;

    private String avatarUrl;

    private Integer gender;

    private String city;

    private String province;

    private String country;

    private boolean admin;

    private Date createdAt;
    private Date updatedAt;
    private Long createdBy;
    private Long updatedBy;
    
    private Integer status; // 用户状态：0-禁用，1-正常

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
